package com.tjetc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Chat {
    private Integer id;

    private Integer adminId;

    private Integer userId;

    /**
     * 聊天内容
     */
    private String text;

    /**
     * 0是管理员接收,1是管理员发送
     */
    private String state;

    /**
     * 聊天的时间
     */
    private Date time;
}